package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import com.rockcent.mall.lib.domain.enumclass.TemplateType;

import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

/**
 * Created by zhangjh on 2016/11/16.
 */
public class TemplateDto  extends DtoEntity {


    /**
     * 平台ID
     */
    private Long mallId;


    /**
     * 标题
     */
    private String title;


    /**
     * 模板类型s
     */
    private String type;

    /**
     * 编辑内容
     */
    private String content;

    /**
     * 向上还是向下
     */
    private String direction;

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    @Override
    public String toString() {
        return "TemplateDto{" +
                "mallId=" + mallId +
                ", title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", content='" + content + '\'' +
                ", direction='" + direction + '\'' +
                '}';
    }
}
